package org.moonshiner.ctci.c1.q5;

public class Q5 {

	public static final String[] INPUT_DATA = {"aabbccc","aaabbbbaaabbb", "abcabcaabbcc","abcd"};
	
	public static void main(String[] args) {
		
		StringCompressor compressor = new StringCompressor();
		
		for (int i = 0; i < INPUT_DATA.length; ++i) {
			System.out.println(compressor.compressString(INPUT_DATA[i]));
		}
	}
	
}
